﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class WebControl_DeleteCustomer : System.Web.UI.UserControl
{
    ListAndProcessData wsv = new ListAndProcessData();
    private String id = null;
    protected void Page_Load(object sender, EventArgs e)
    {
        id = Request.QueryString["idcustomer"].ToString();
        int id1 = Convert.ToInt32(id);
        wsv.DeleteCustomer(id1);
        if (wsv.DeleteCustomer(id1))
        {
            Response.Redirect("Customer_Admin.aspx");
        }
        else
        {
           
        }
    }

}